package jmu.cultural_tourism.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import java.io.Serializable;

/**
 * (PostReply)实体类
 *
 * @author makejava
 * @since 2025-07-17 15:31:34
 */
public class PostReply implements Serializable {
    private static final long serialVersionUID = 371806221008530680L;
    /**
     * 回复ID
     */
    private Integer replyId;
    /**
     * 回复内容
     */
    private String replyContent;
    /**
     * 回复人
     */
    private Integer userId;
    /**
     * 所属帖子ID
     */
    private Integer postId;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    public Integer getReplyId() {
        return replyId;
    }

    public void setReplyId(Integer replyId) {
        this.replyId = replyId;
    }

    public String getReplyContent() {
        return replyContent;
    }

    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getPostId() {
        return postId;
    }

    public void setPostId(Integer postId) {
        this.postId = postId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}